<?php

namespace App\Http\Dao;

use App\Models\SubjectModel;

class SubjectDao extends BaseDao
{

    protected function getModel(): string
    {
        return SubjectModel::class;
    }

    public function getAllSubjects()
    {
        return SubjectModel::query()->orderBy('sort')->get()->toArray();
    }
}
